package com.pshare.excel.bean;

import java.util.Collection;

public class ExcelExport<T> {

	private String sheetName;//sheet名词
	private String[] headers;//excel头部元素
	private String[] getterMethodName;//数据的getter方法签名
	private short[] columnWidth;//列宽
	private Collection<T> dataset;//数据对象

	public String getSheetName() {
		return sheetName;
	}

	public void setSheetName(String sheetName) {
		this.sheetName = sheetName;
	}

	public String[] getHeaders() {
		return headers;
	}

	public void setHeaders(String[] headers) {
		this.headers = headers;
	}

	public String[] getGetterMethodName() {
		return getterMethodName;
	}

	public void setGetterMethodName(String[] getterMethodName) {
		this.getterMethodName = getterMethodName;
	}

	public short[] getColumnWidth() {
		return columnWidth;
	}

	public void setColumnWidth(short[] columnWidth) {
		this.columnWidth = columnWidth;
	}

	public Collection<T> getDataset() {
		return dataset;
	}

	public void setDataset(Collection<T> dataset) {
		this.dataset = dataset;
	}

}
